Skip to main content

VirtualNetworkGatewayConnectionSharedKey

Provides a VirtualNetworkGatewayConnectionSharedKey from the Network group

Examples

SetVirtualNetworkGatewayConnectionSharedKey

exports.createResources = () => [
{
type: "VirtualNetworkGatewayConnectionSharedKey",
group: "Network",
name: "myVirtualNetworkGatewayConnectionSharedKey",
properties: () => ({ value: "AzureAbc123" }),
dependencies: ({}) => ({
resourceGroup: "myResourceGroup",
virtualNetworkGatewayConnection: "myVirtualNetworkGatewayConnection",
}),
},
];

Dependencies

Swagger Schema

{
properties: {
value: {
type: 'string',
description: 'The virtual network connection shared key value.'
}
},
allOf: [
{
properties: { id: { type: 'string', description: 'Resource ID.' } },
description: 'Reference to another subresource.',
'x-ms-azure-resource': true
}
],
required: [ 'value' ],
description: 'Response for GetConnectionSharedKey API service call.'
}

Misc

The resource version is 2022-01-01.

The Swagger schema used to generate this documentation can be found here.