CloudService() { Deployments = new DeploymentSet(GetDeploymentsAsync); Certificates = new LatentSequence <ServiceCertificate>(GetCertificatesAsync); WebWorkerRoleSizes = new List <string>(); Extensions = new LatentSequence <Extension>(GetExtensionsAsync); }
internal AvailableExtensionImage(XElement xml, Subscription subscription) { Subscription = subscription; var azureNamespace = XmlNamespaces.WindowsAzure; xml.HydrateObject(azureNamespace, this); PublicConfigurationSchema = PublicConfigurationSchema.FromBase64String(); PrivateConfigurationSchema = PrivateConfigurationSchema.FromBase64String(); SampleConfig = SampleConfig.FromBase64String(); Versions = new LatentSequence <ExtensionImageVersion>(GetExtensionImageVersionsAsync); }
internal AvailableExtensionImage(XElement xml, Subscription subscription) { Subscription = subscription; var azureNamespace = XmlNamespaces.WindowsAzure; xml.HydrateObject(azureNamespace, this); PublicConfigurationSchema = PublicConfigurationSchema.FromBase64String(); PrivateConfigurationSchema = PrivateConfigurationSchema.FromBase64String(); SampleConfig = SampleConfig.FromBase64String(); Versions = new LatentSequence<ExtensionImageVersion>(GetExtensionImageVersionsAsync); }
void Init() { _coreHttpClient20140601 = AzureRestClient.CreateHttpClient(this, "2014-06-01", () => LogDestinations); _coreHttpClient20141001 = AzureRestClient.CreateHttpClient(this, "2014-10-01", () => LogDestinations); _databaseHttpClient = AzureRestClient.CreateHttpClient(this, "2014-06-01", () => LogDestinations); CloudServices = new LatentSequence<CloudService>(GetCloudServicesAsync); DatabaseServers = new LatentSequence<DatabaseServer>(GetDatabaseServersAsync); TrafficManagerProfiles = new LatentSequence<TrafficManagerProfile>(GetTrafficManagerProfilesAsync); StorageAccounts = new LatentSequence<StorageAccount>(GetStorageAccountsAsync); AffinityGroups = new LatentSequence<AffinityGroup>(GetAffinityGroupsAsync); Locations = new LatentSequence<Location>(GetLocationsAsync); ExtensionImages = new LatentSequence<AvailableExtensionImage>(GetExtensionImagesAsync); ReservedIps = new LatentSequence<ReservedIp>(GetReservedIpsAsync); }
Deployment() { RoleInstances = new LatentSequence <RoleInstance>(GetRoleInstancesAsync); }
TrafficManagerProfile() { Definitions = new LatentSequence <TrafficManagerDefinition>(GetDefinitionsAsync); Enabled = true; }
internal Database(XElement xml, DatabaseServer databaseServer) { xml.HydrateObject(XmlNamespaces.WindowsAzure, this); DatabaseServer = databaseServer; Replicas = new LatentSequence <Replica>(GetReplicasAsync); }
DatabaseServer() { FirewallRules = new LatentSequence <FirewallRule>(GetFirewallRulesAsync); Databases = new LatentSequence <Database>(GetDatabasesAsync); }
private StorageAccount() { Keys = new LatentSequence<StorageAccountKey>(GetStorageAccountKeysAsync); }
private StorageAccount() { Keys = new LatentSequence <StorageAccountKey>(GetStorageAccountKeysAsync); }
CloudService() { Deployments = new DeploymentSet(GetDeploymentsAsync); Certificates = new LatentSequence <ServiceCertificate>(GetCertificatesAsync); }
private TrafficManagerProfile() { Definitions = new LatentSequence<TrafficManagerDefinition>(GetDefinitionsAsync); Enabled = true; }
Deployment() { RoleInstances = new LatentSequence<RoleInstance>(GetRoleInstancesAsync); }
DatabaseServer() { FirewallRules = new LatentSequence<FirewallRule>(GetFirewallRulesAsync); Databases = new LatentSequence<Database>(GetDatabasesAsync); }
private Deployment() { RoleInstances = new LatentSequence <RoleInstance>(GetRoleInstancesAsync); ExtensionAssociations = new LatentSequence <ExtensionAssociation>(GetExtensionAssociationsAsync); }
private Deployment() { RoleInstances = new LatentSequence<RoleInstance>(GetRoleInstancesAsync); ExtensionAssociations = new LatentSequence<ExtensionAssociation>(GetExtensionAssociationsAsync); }