你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmAppServiceModelFactory.AppServiceDomainPatch 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 AppServiceDomainPatch 的新实例。
public static Azure.ResourceManager.AppService.Models.AppServiceDomainPatch AppServiceDomainPatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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? isReadyForDnsRecordManagement = 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 AppServiceDomainPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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.Models.AppServiceDomainPatch
Public Shared Function AppServiceDomainPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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 isReadyForDnsRecordManagement 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 AppServiceDomainPatch
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- contactAdmin
- RegistrationContactInfo
管理联系人。
- contactBilling
- RegistrationContactInfo
计费联系人。
- contactRegistrant
- RegistrationContactInfo
注册联系人。
- contactTech
- RegistrationContactInfo
技术联系人。
- registrationStatus
- Nullable<AppServiceDomainStatus>
域注册状态。
- provisioningState
- Nullable<ProvisioningState>
域预配状态。
- nameServers
- IEnumerable<String>
名称服务器。
- createdOn
- Nullable<DateTimeOffset>
域创建时间戳。
- expireOn
- Nullable<DateTimeOffset>
域过期时间戳。
- lastRenewedOn
- Nullable<DateTimeOffset>
上次续订域的时间戳。
<如果 Azure 可以将此域分配给App 服务应用,则为代码 true/code>;否则为 <false<>/code>。<> 如果域注册状态为活动并且托管在 Azure 以编程方式访问的名称服务器上,则此值将为 <代码>true</code> 。
- managedHostNames
- IEnumerable<AppServiceHostName>
从域派生并分配给 Azure 资源的所有主机名。
- consent
- DomainPurchaseConsent
法律协议同意。
- domainNotRenewableReasons
- IEnumerable<DomainNotRenewableReason>
域不可续订的原因。
- dnsType
- Nullable<AppServiceDnsType>
当前 DNS 类型。
- dnsZoneId
- String
要使用的 Azure DNS 区域。
- targetDnsType
- Nullable<AppServiceDnsType>
目标 DNS 类型 (将用于迁移) 。
- authCode
- String
- kind
- String
资源类型。
返回
用于模拟的新 AppServiceDomainPatch 实例。