public static ProximityPlacementGroup GetProximityPlacementGroup(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { ProximityPlacementGroup.ValidateResourceId(id); return new ProximityPlacementGroup(client, id); } )); }
public static ProximityPlacementGroup GetProximityPlacementGroup(this ArmClient armClient, ResourceIdentifier id) { ProximityPlacementGroup.ValidateResourceId(id); return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new ProximityPlacementGroup(clientOptions, credential, uri, pipeline, id))); }
public static ProximityPlacementGroup GetProximityPlacementGroup(this ArmClient armClient, ResourceIdentifier id) { ProximityPlacementGroup.ValidateResourceId(id); return(new ProximityPlacementGroup(armClient, id)); }