예제 #1
0
        internal MachineExtension(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _machineExtensionClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ConnectedVMwarevSphere", ResourceType.Namespace, DiagnosticOptions);
            TryGetApiVersion(ResourceType, out string machineExtensionApiVersion);
            _machineExtensionRestClient = new MachineExtensionsRestOperations(_machineExtensionClientDiagnostics, Pipeline, DiagnosticOptions.ApplicationId, BaseUri, machineExtensionApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }