Пример #1
0
        internal GatewayResourceCollection(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _gatewayResourceGatewaysClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.AppPlatform", GatewayResource.ResourceType.Namespace, Diagnostics);
            TryGetApiVersion(GatewayResource.ResourceType, out string gatewayResourceGatewaysApiVersion);
            _gatewayResourceGatewaysRestClient = new GatewaysRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, gatewayResourceGatewaysApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }