ArmAppServiceModelFactory.AppServiceDomainData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AppServiceDomainData.
public static Azure.ResourceManager.AppService.AppServiceDomainData AppServiceDomainData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.AppService.Models.RegistrationContactInfo contactAdmin = default, Azure.ResourceManager.AppService.Models.RegistrationContactInfo contactBilling = default, Azure.ResourceManager.AppService.Models.RegistrationContactInfo contactRegistrant = default, Azure.ResourceManager.AppService.Models.RegistrationContactInfo contactTech = default, Azure.ResourceManager.AppService.Models.AppServiceDomainStatus? registrationStatus = default, Azure.ResourceManager.AppService.Models.ProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<string> nameServers = default, bool? isDomainPrivacyEnabled = default, DateTimeOffset? createdOn = default, DateTimeOffset? expireOn = default, DateTimeOffset? lastRenewedOn = default, bool? isAutoRenew = default, bool? isDnsRecordManagementReady = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.AppServiceHostName> managedHostNames = default, Azure.ResourceManager.AppService.Models.DomainPurchaseConsent consent = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.DomainNotRenewableReason> domainNotRenewableReasons = default, Azure.ResourceManager.AppService.Models.AppServiceDnsType? dnsType = default, string dnsZoneId = default, Azure.ResourceManager.AppService.Models.AppServiceDnsType? targetDnsType = default, string authCode = default, string kind = default);
static member AppServiceDomainData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.RegistrationContactInfo * Azure.ResourceManager.AppService.Models.RegistrationContactInfo * Azure.ResourceManager.AppService.Models.RegistrationContactInfo * Azure.ResourceManager.AppService.Models.RegistrationContactInfo * Nullable<Azure.ResourceManager.AppService.Models.AppServiceDomainStatus> * Nullable<Azure.ResourceManager.AppService.Models.ProvisioningState> * seq<string> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.AppServiceHostName> * Azure.ResourceManager.AppService.Models.DomainPurchaseConsent * seq<Azure.ResourceManager.AppService.Models.DomainNotRenewableReason> * Nullable<Azure.ResourceManager.AppService.Models.AppServiceDnsType> * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceDnsType> * string * string -> Azure.ResourceManager.AppService.AppServiceDomainData
Public Shared Function AppServiceDomainData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional contactAdmin As RegistrationContactInfo = Nothing, Optional contactBilling As RegistrationContactInfo = Nothing, Optional contactRegistrant As RegistrationContactInfo = Nothing, Optional contactTech As RegistrationContactInfo = Nothing, Optional registrationStatus As Nullable(Of AppServiceDomainStatus) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional nameServers As IEnumerable(Of String) = Nothing, Optional isDomainPrivacyEnabled As Nullable(Of Boolean) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastRenewedOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAutoRenew As Nullable(Of Boolean) = Nothing, Optional isDnsRecordManagementReady As Nullable(Of Boolean) = Nothing, Optional managedHostNames As IEnumerable(Of AppServiceHostName) = Nothing, Optional consent As DomainPurchaseConsent = Nothing, Optional domainNotRenewableReasons As IEnumerable(Of DomainNotRenewableReason) = Nothing, Optional dnsType As Nullable(Of AppServiceDnsType) = Nothing, Optional dnsZoneId As String = Nothing, Optional targetDnsType As Nullable(Of AppServiceDnsType) = Nothing, Optional authCode As String = Nothing, Optional kind As String = Nothing) As AppServiceDomainData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- contactAdmin
- RegistrationContactInfo
Administrative contact.
- contactBilling
- RegistrationContactInfo
Billing contact.
- contactRegistrant
- RegistrationContactInfo
Registrant contact.
- contactTech
- RegistrationContactInfo
Technical contact.
- registrationStatus
- Nullable<AppServiceDomainStatus>
Domain registration status.
- provisioningState
- Nullable<ProvisioningState>
Domain provisioning state.
- nameServers
- IEnumerable<String>
Name servers.
<code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.
- createdOn
- Nullable<DateTimeOffset>
Domain creation timestamp.
- expireOn
- Nullable<DateTimeOffset>
Domain expiration timestamp.
- lastRenewedOn
- Nullable<DateTimeOffset>
Timestamp when the domain was renewed last time.
<code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.
<code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
- managedHostNames
- IEnumerable<AppServiceHostName>
All hostnames derived from the domain and assigned to Azure resources.
- consent
- DomainPurchaseConsent
Legal agreement consent.
- domainNotRenewableReasons
- IEnumerable<DomainNotRenewableReason>
Reasons why domain is not renewable.
- dnsType
- Nullable<AppServiceDnsType>
Current DNS type.
- dnsZoneId
- String
Azure DNS Zone to use.
- targetDnsType
- Nullable<AppServiceDnsType>
Target DNS type (would be used for migration).
- authCode
- String
- kind
- String
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
Returns
A new AppServiceDomainData instance for mocking.
Applies to
Azure SDK for .NET