protected override void Clone(ServiceClient <StoreManagementClient> client)
        {
            base.Clone(client);
            StoreManagementClient management = client as StoreManagementClient;

            if (management != null)
            {
                management._credentials = Credentials;
                management._baseUri     = BaseUri;
                management.Credentials.InitializeServiceClient <StoreManagementClient>(management);
            }
        }
Exemplo n.º 2
0
        public StoreClient(
            AzureSubscription subscription,
            ComputeManagementClient compute,
            StoreManagementClient store,
            MarketplaceClient marketplace,
            ManagementClient management)
        {
            this.subscriptionId = subscription.Id.ToString();

            computeClient = compute;
            storeClient = store;
            MarketplaceClient = marketplace;
            managementClient = management;
        }
Exemplo n.º 3
0
        public StoreClient(
            WindowsAzureSubscription subscription,
            ComputeManagementClient compute,
            StoreManagementClient store,
            MarketplaceClient marketplace,
            ManagementClient management)
        {
            Validate.ValidateStringIsNullOrEmpty(subscription.SubscriptionId, null, true);
            this.subscriptionId = subscription.SubscriptionId;

            computeClient = compute;
            storeClient = store;
            MarketplaceClient = marketplace;
            managementClient = management;
        }