private static void InitializeValidStorageServiceData()
        {
            StorageService myStore = new StorageService();

            myStore.ServiceName                       = "mystore";
            myStore.StorageServiceKeys                = new StorageServiceKeys();
            myStore.StorageServiceKeys.Primary        = "=132321982cddsdsa";
            myStore.StorageServiceKeys.Secondary      = "=w8uidjew4378891289";
            myStore.StorageServiceProperties          = new StorageServiceProperties();
            myStore.StorageServiceProperties.Location = "North Central US";
            myStore.StorageServiceProperties.Status   = "Created";
            ValidStorageService.Add(myStore);

            StorageService testStore = new StorageService();

            testStore.ServiceName                       = "teststore";
            testStore.StorageServiceKeys                = new StorageServiceKeys();
            testStore.StorageServiceKeys.Primary        = "=/se23ew2343221";
            testStore.StorageServiceKeys.Secondary      = "==0--3210-//121313233290sd";
            testStore.StorageServiceProperties          = new StorageServiceProperties();
            testStore.StorageServiceProperties.Location = "East Asia";
            testStore.StorageServiceProperties.Status   = "Creating";
            ValidStorageService.Add(testStore);

            StorageService MyCompanyStore = new StorageService();

            MyCompanyStore.ServiceName                       = "mycompanystore";
            MyCompanyStore.StorageServiceKeys                = new StorageServiceKeys();
            MyCompanyStore.StorageServiceKeys.Primary        = "121/21dssdsds=";
            MyCompanyStore.StorageServiceKeys.Secondary      = "023432dfelfema1=";
            MyCompanyStore.StorageServiceProperties          = new StorageServiceProperties();
            MyCompanyStore.StorageServiceProperties.Location = "North Europe";
            MyCompanyStore.StorageServiceProperties.Status   = "Suspending";
            ValidStorageService.Add(MyCompanyStore);
        }
Exemple #2
0
        private static void InitializeValidStorageServiceData()
        {
            StorageService myStore = new StorageService();

            myStore.ServiceName                       = "mystore";
            myStore.StorageServiceKeys                = new StorageServiceKeys();
            myStore.StorageServiceKeys.Primary        = "=132321982cddsdsa";
            myStore.StorageServiceKeys.Secondary      = "=w8uidjew4378891289";
            myStore.StorageServiceProperties          = new StorageServiceProperties();
            myStore.StorageServiceProperties.Location = ArgumentConstants.Locations[AzureDeploymentCmdlets.Model.Location.NorthCentralUS];
            myStore.StorageServiceProperties.Status   = StorageAccountStatus.Created;
            ValidStorageService.Add(myStore);

            StorageService testStore = new StorageService();

            testStore.ServiceName                       = "teststore";
            testStore.StorageServiceKeys                = new StorageServiceKeys();
            testStore.StorageServiceKeys.Primary        = "=/se23ew2343221";
            testStore.StorageServiceKeys.Secondary      = "==0--3210-//121313233290sd";
            testStore.StorageServiceProperties          = new StorageServiceProperties();
            testStore.StorageServiceProperties.Location = ArgumentConstants.Locations[AzureDeploymentCmdlets.Model.Location.EastAsia];
            testStore.StorageServiceProperties.Status   = StorageAccountStatus.Creating;
            ValidStorageService.Add(testStore);

            StorageService MyCompanyStore = new StorageService();

            MyCompanyStore.ServiceName                       = "mycompanystore";
            MyCompanyStore.StorageServiceKeys                = new StorageServiceKeys();
            MyCompanyStore.StorageServiceKeys.Primary        = "121/21dssdsds=";
            MyCompanyStore.StorageServiceKeys.Secondary      = "023432dfelfema1=";
            MyCompanyStore.StorageServiceProperties          = new StorageServiceProperties();
            MyCompanyStore.StorageServiceProperties.Location = ArgumentConstants.Locations[AzureDeploymentCmdlets.Model.Location.NorthEurope];
            MyCompanyStore.StorageServiceProperties.Status   = StorageAccountStatus.ResolvingDns;
            ValidStorageService.Add(MyCompanyStore);
        }