v2

latestSwagger 2.02026-07-1336104125.6 KB
Secrets

Creates or updates a secret resource.

Creates a secret resource with the specified name, description and properties. If a secret resource with the same name exists, then it is updated with the specified description and properties.

put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}

Path parameters

subscriptionIdstring required

The customer subscription identifier

resourceGroupNamestring required

Azure resource group name

secretResourceNamestring required

The name of the secret resource.

Query parameters

api-version'2018-09-01-preview' required

The version of the API. This parameter is required and its value must be 2018-09-01-preview.

Request body

idstring

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Response

OK

idstring

Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

namestring

The name of the resource

typestring

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.