@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api VirtualMachineImageTemplate
@base https://management.azure.com
@version 2019-05-01-preview
@auth OAuth2
@common_fields {api-version: any # Client Api Version.}
@endpoints 10
@toc subscriptions(9), providers(1)

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.VirtualMachineImages/imageTemplates
@desc Gets information about the VM image templates associated with the subscription.
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates
@desc Gets information about the VM image templates associated with the specified resource group.
@required {resourceGroupName: any # The name of the resource group., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
@desc Create or update a virtual machine image template
@required {parameters: any # Parameters supplied to the CreateImageTemplate operation, subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(200) OK
@returns(201) Created

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
@desc Update the tags for this Virtual Machine Image Template
@required {parameters: any # Additional parameters for Image Template update., subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(200) OK
@returns(202) The operation will be completed asynchronously.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
@desc Get information about a virtual machine image template
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}
@desc Delete a virtual machine image template
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(200) The operation was successful.
@returns(202) The operation will be completed asynchronously.
@returns(204) NoContent -- VM image template does not exist in the subscription.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/run
@desc Create artifacts from a existing image template
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(202) The operation will be completed asynchronously.
@returns(204) The operation was successful.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs
@desc List all run outputs for the specified Image Template resource
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs/{runOutputName}
@desc Get the specified run output for the specified image template resource
@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription Id forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., imageTemplateName: any # The name of the image Template, runOutputName: any # The name of the run output}
@returns(200) OK

@endgroup

@group providers
@endpoint GET /providers/Microsoft.VirtualMachineImages/operations
@desc Lists available operations for the Microsoft.VirtualMachineImages provider
@returns(200) The operation was successful. The response contains the list of available operations.

@endgroup

@end
