MockableComputeArmClient.GetSnapshotResource(ResourceIdentifier) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object representing a SnapshotResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SnapshotResourceResourceIdentifier from its components.
public virtual Azure.ResourceManager.Compute.SnapshotResource GetSnapshotResource (Azure.Core.ResourceIdentifier id);
abstract member GetSnapshotResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.SnapshotResource
override this.GetSnapshotResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.SnapshotResource
Public Overridable Function GetSnapshotResource (id As ResourceIdentifier) As SnapshotResource
Parameters
The resource ID of the resource to get.
Returns
Returns a SnapshotResource object.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET