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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET