Skip to main content

sign_up_settings

Creates, updates, deletes, gets or lists a sign_up_settings resource.

Overview

Namesign_up_settings
TypeResource
Idazure.api_management.sign_up_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
enabledbooleanAllow users to sign up on a developer portal.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
termsOfServiceobjectTerms of service contract properties.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, subscription_idGet Sign Up Settings for the Portal.
create_or_updateinsertresource_group_name, service_name, subscription_idCreate or Update Sign-Up settings.
updateupdateresource_group_name, service_name, subscription_idUpdate Sign-Up settings.
create_or_updatereplaceresource_group_name, service_name, subscription_idCreate or Update Sign-Up settings.
get_entity_tagexecresource_group_name, service_name, subscription_idGets the entity state (Etag) version of the SignUpSettings.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
service_namestringThe name of the API Management service. Required.
subscription_idstring

SELECT examples

Get Sign Up Settings for the Portal.

SELECT
id,
name,
enabled,
systemData,
termsOfService,
type
FROM azure.api_management.sign_up_settings
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or Update Sign-Up settings.

INSERT INTO azure.api_management.sign_up_settings (
properties,
resource_group_name,
service_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Update Sign-Up settings.

UPDATE azure.api_management.sign_up_settings
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required;

REPLACE examples

Create or Update Sign-Up settings.

REPLACE azure.api_management.sign_up_settings
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

Lifecycle Methods

Gets the entity state (Etag) version of the SignUpSettings.

EXEC azure.api_management.sign_up_settings.get_entity_tag 
@resource_group_name='{{ resource_group_name }}' --required,
@service_name='{{ service_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;