Share via


AppPlatformExtensions.GetAppPlatformGatewayResource Method

Definition

Gets an object representing an AppPlatformGatewayResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an AppPlatformGatewayResourceAzure.Core.ResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetAppPlatformGatewayResource(ResourceIdentifier) instead.</item>

public static Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource GetAppPlatformGatewayResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetAppPlatformGatewayResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.AppPlatform.AppPlatformGatewayResource
<Extension()>
Public Function GetAppPlatformGatewayResource (client As ArmClient, id As ResourceIdentifier) As AppPlatformGatewayResource

Parameters

client
Azure.ResourceManager.ArmClient

The Azure.ResourceManager.ArmClient instance the method will execute against.

id
Azure.Core.ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a AppPlatformGatewayResource object.

Exceptions

System.ArgumentNullException

client is null.

Applies to