コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the RecordSet class.
 /// </summary>
 public RecordSet(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), IDictionary <string, string> metadata = default(IDictionary <string, string>), long?tTL = default(long?), IList <ARecord> aRecords = default(IList <ARecord>), IList <AaaaRecord> aaaaRecords = default(IList <AaaaRecord>), IList <MxRecord> mxRecords = default(IList <MxRecord>), IList <NsRecord> nsRecords = default(IList <NsRecord>), IList <PtrRecord> ptrRecords = default(IList <PtrRecord>), IList <SrvRecord> srvRecords = default(IList <SrvRecord>), IList <TxtRecord> txtRecords = default(IList <TxtRecord>), CnameRecord cnameRecord = default(CnameRecord), SoaRecord soaRecord = default(SoaRecord))
 {
     Id          = id;
     Name        = name;
     Type        = type;
     Etag        = etag;
     Metadata    = metadata;
     TTL         = tTL;
     ARecords    = aRecords;
     AaaaRecords = aaaaRecords;
     MxRecords   = mxRecords;
     NsRecords   = nsRecords;
     PtrRecords  = ptrRecords;
     SrvRecords  = srvRecords;
     TxtRecords  = txtRecords;
     CnameRecord = cnameRecord;
     SoaRecord   = soaRecord;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the RecordSet class.
 /// </summary>
 /// <param name="id">The ID of the record set.</param>
 /// <param name="name">The name of the record set.</param>
 /// <param name="type">The type of the record set.</param>
 /// <param name="etag">The etag of the record set.</param>
 /// <param name="metadata">The metadata attached to the record
 /// set.</param>
 /// <param name="tTL">The TTL (time-to-live) of the records in the
 /// record set.</param>
 /// <param name="fqdn">Fully qualified domain name of the record
 /// set.</param>
 /// <param name="provisioningState">provisioning State of the record
 /// set.</param>
 /// <param name="targetResource">A reference to an azure resource from
 /// where the dns resource value is taken.</param>
 /// <param name="aRecords">The list of A records in the record
 /// set.</param>
 /// <param name="aaaaRecords">The list of AAAA records in the record
 /// set.</param>
 /// <param name="mxRecords">The list of MX records in the record
 /// set.</param>
 /// <param name="nsRecords">The list of NS records in the record
 /// set.</param>
 /// <param name="ptrRecords">The list of PTR records in the record
 /// set.</param>
 /// <param name="srvRecords">The list of SRV records in the record
 /// set.</param>
 /// <param name="txtRecords">The list of TXT records in the record
 /// set.</param>
 /// <param name="cnameRecord">The CNAME record in the  record
 /// set.</param>
 /// <param name="soaRecord">The SOA record in the record set.</param>
 /// <param name="caaRecords">The list of CAA records in the record
 /// set.</param>
 public RecordSet(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), IDictionary <string, string> metadata = default(IDictionary <string, string>), long?tTL = default(long?), string fqdn = default(string), string provisioningState = default(string), SubResource targetResource = default(SubResource), IList <ARecord> aRecords = default(IList <ARecord>), IList <AaaaRecord> aaaaRecords = default(IList <AaaaRecord>), IList <MxRecord> mxRecords = default(IList <MxRecord>), IList <NsRecord> nsRecords = default(IList <NsRecord>), IList <PtrRecord> ptrRecords = default(IList <PtrRecord>), IList <SrvRecord> srvRecords = default(IList <SrvRecord>), IList <TxtRecord> txtRecords = default(IList <TxtRecord>), CnameRecord cnameRecord = default(CnameRecord), SoaRecord soaRecord = default(SoaRecord), IList <CaaRecord> caaRecords = default(IList <CaaRecord>))
 {
     Id                = id;
     Name              = name;
     Type              = type;
     Etag              = etag;
     Metadata          = metadata;
     TTL               = tTL;
     Fqdn              = fqdn;
     ProvisioningState = provisioningState;
     TargetResource    = targetResource;
     ARecords          = aRecords;
     AaaaRecords       = aaaaRecords;
     MxRecords         = mxRecords;
     NsRecords         = nsRecords;
     PtrRecords        = ptrRecords;
     SrvRecords        = srvRecords;
     TxtRecords        = txtRecords;
     CnameRecord       = cnameRecord;
     SoaRecord         = soaRecord;
     CaaRecords        = caaRecords;
     CustomInit();
 }