다음을 통해 공유


MockableNetworkArmClient.GetBastionHostResource(ResourceIdentifier) Method

Definition

Gets an object representing a BastionHostResource 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 BastionHostResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Network.BastionHostResource GetBastionHostResource (Azure.Core.ResourceIdentifier id);
abstract member GetBastionHostResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.BastionHostResource
override this.GetBastionHostResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.BastionHostResource
Public Overridable Function GetBastionHostResource (id As ResourceIdentifier) As BastionHostResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a BastionHostResource object.

Applies to