📄 dnsschema.mof
字号:
]
void PauseZone();
[Implemented, Description(
"This method resumes the Zone. "): ToSubClass
]
void ResumeZone();
[Implemented, Description(
"This method reloads the Zone."): ToSubClass
]
void ReloadZoneFromItsDatabase();
[Implemented, Description(
"This method forces an update of the secondary from the Master "
"DNS server."): ToSubClass
]
void ForceRefreshOfSecondaryZoneFromMaster();
[Implemented, Description(
"This method forces an update of the Zone from the DS. For this "
"method to be valid, the ZoneType must be 0 - the "
"Zone must indeed be stored in the DS."): ToSubClass
]
void UpdateDSIntegratedZoneByDataFromDS();
[Implemented, Description(
"This method saves the Zone's data to its zone file."): ToSubClass
]
void WriteBackZoneToFile();
[Static, Implemented, Description(
"This method creates a new zone.") : ToSubClass
]
void CreateZone(
[IN] string ZoneName,
[IN, Values {"DS integrated", "Primary", "Secondary"}] uint16 ZoneType,
[IN, optional] string DataFileName,
[IN, optional] string IpAddr[],
[IN, optional] string AdminEmailName,
[OUT] MicrosoftDns_Zone ref RR);
[Implemented, Description(
"This changes zone types.") : ToSubClass
]
void ChangeZoneType(
[IN, Values {"DS integrated", "Primary", "Secondary"}] uint16 ZoneType,
[IN, optional] string DataFileName,
[IN, optional] string IpAddr[],
[IN, optional] string AdminEmailName,
[OUT] MicrosoftDns_Zone ref RR);
[Implemented, Description(
"This method resets the master ip address array.") : ToSubClass
]
void ResetMasterIpArray(
[IN] string MastersIPAddressesArray[],
[OUT] MicrosoftDns_Zone ref RR);
[Implemented, Description(
"This method resets the secondary ip address array.") : ToSubClass
]
void ResetSecondaryIpArray(
[IN] string SecondariesIPAddressesArray[],
[IN, Values { "ZONE_SECSECURE_NO_SECURITY", "ZONE_SECSECURE_NS_ONLY",
"ZONE_SECSECURE_LIST_ONLY", "ZONE_SECSECURE_NO_XFR"} ] uint32 SecureSecondaries,
[IN] string NotifyIPAddressesArray[],
[IN, Values { "ZONE_NOTIFY_OFF", "ZONE_NOTIFY_ALL_SECONDARIES",
"ZONE_NOTIFY_LIST_ONLY"} ] uint32 Notify,
[IN, optional] string AdminEmailName,
[OUT] MicrosoftDns_Zone ref RR);
[Implemented, Description(
"This method get DS distinguished Name for the zone.") : ToSubClass
]
string GetDistinguishedName();
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description("This class describes a cache existing on a DNS "
"server. It shouldn't be confused with a Cache file which "
"contains root hints. This class simplifies visualizing the "
"containment of DNS objects, rather than representing a "
"real object. The class, MicrosoftDNS_Cache, is a container for the "
"resource records cached by the DNS server. Every instance of "
"the class MicrosoftDNS_Cache must be assigned to one and only one "
"DNS server. It may be associated with (or more intuitively 'may "
"contain') any number of instances of the classes, MicrosoftDNS_"
"Domain and/or MicrosoftDNS_ResourceRecord."): ToSubClass ,
Dynamic, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{591E9D38-AA43-11d2-85DD-0000F8102E5F}")
]
class MicrosoftDNS_Cache : MicrosoftDNS_Domain
{
[Implemented,
Description(
"This method clears the DNS server's cache of resource records. "
): ToSubClass
]
void ClearDNSServerCache();
[Implemented, Description(
"This method get DS distinguished Name for the zone.") : ToSubClass
]
string GetDistinguishedName();
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description("This class describes the Root Hints stored in a "
"Cache file on a DNS server. This class simplifies visualizing the "
"containment of DNS objects, rather than representing a real "
"object. Class MicrosoftDNS_RootHints is a container for the resource "
"records stored by the DNS server in a Cache file. Every instance "
"of the class MicrosoftDNS_RootHints must be assigned to one and only "
"one DNS server. It may be associated with (or more intuitively 'may "
"contain') any number of instances of class MicrosoftDNS_Resource"
"Record."): ToSubClass,
Dynamic, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{5F3F688C-AA43-11d2-85DD-0000F8102E5F}")
]
class MicrosoftDNS_RootHints : MicrosoftDNS_Domain
{
[Implemented, Description(
"This method writes the Root Hints back to the DNS' Cache file. "
): ToSubClass
]
void WriteBackRootHintDatafile();
[Implemented, Description(
"This method get DS distinguished Name for the zone.") : ToSubClass
]
string GetDistinguishedName();
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description("This class represents the general properties of a "
"DNS Resource Record."): ToSubClass,
abstract, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{5F3F688D-AA43-11d2-85DD-0000F8102E5F}")
]
class MicrosoftDNS_ResourceRecord : CIM_LogicalElement
{
[Key, Propagated ("MicrosoftDNS_Domain.DnsServerName"): ToSubClass,
Read: ToSubClass,
Description("Indicates the Fully Qualified Domain Name or "
"IP address of the DNS server that contains this Resource "
"Record."): ToSubClass
]
string DnsServerName;
[Key, Propagated("MicrosoftDNS_Domain.ContainerName"): ToSubClass,
Read: ToSubClass,
Description("Indicates the name of the Container for "
"the Zone, Cache or Root Hints instance which contains this "
"Resource Record"): ToSubClass
]
string ContainerName;
[Key, Propagated ("MicrosoftDNS_Domain.Name"): ToSubClass,
Read: ToSubClass,
Description("This string represents the Fully Qualified Domain Name of "
"the Domain which contains this Resource Record. This property "
"may contain the strings, \"..Cache\" or \"..RootHints\", if the "
"DNS' internal cache or Root Hints (respectively) contain this "
"Resource Record."): ToSubClass
]
string DomainName;
[Key, Read: ToSubClass,
Description ("The owner name for the Resource Record."): ToSubClass
]
string OwnerName;
[Key, Read: ToSubClass,
Description("This string represents the class of the Resource "
"Record."): ToSubClass,
Valuemap {"1", "2", "3", "4"}: ToSubClass,
Values {"IN (Internet)", "CS (CSNET)", "CH (CHAOS)",
"HS (Hesiod)"}: ToSubClass
]
uint16 RecordClass=1;
[Read: ToSubClass, Write: ToSubClass,
Description("This property indicates how long (in seconds) the "
"Resource Record can be cached by a DNS resolver."): ToSubClass,
Units ("Seconds"): ToSubClass
]
uint32 TTL;
[Key, Read: ToSubClass,
Description("This string represents the Resource Record data."):
ToSubClass
]
string RecordData;
[Read: ToSubClass,
Description("This string represents the entire Resource Record."):
ToSubClass
]
string TextRepresentation;
[Static, Implemented, Description(
"This method parses the resource record in the TextRepresentation "
"string, and along with the input DNS server and Container names, "
"defines and instantiates a ResourceRecord object. The method "
"returns a reference to the new object as an output parameter."
): ToSubClass
]
void CreateInstanceFromTextRepresentation(
[IN] string DnsServerName,
[IN] string ContainerName,
[IN] string TextRepresentation,
[OUT] MicrosoftDNS_ResourceRecord ref RR);
[Static, Implemented, Description(
"This method to retrieve an existing instance of the MicrosoftDns_ResourceRecord "
"subclass, represented by the TextRepresentation string along with Dns Server "
"and container name." ): ToSubClass
]
void GetObjectByTextRepresentation(
[IN] string DnsServerName,
[IN] string ContainerName,
[IN] string TextRepresentation,
[OUT] MicrosoftDns_ResourceRecord RR);
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description ("A subclass of MicrosoftDNS_ResourceRecord that represents a "
"Type A record."): ToSubClass ,
Dynamic, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{1A2BC2E6-B6EA-11d2-85E5-0000F8102E5F}")
]
class MicrosoftDNS_AType : MicrosoftDNS_ResourceRecord
{
[Read: ToSubClass ,
Description("The IP address of the Host (A) record."): ToSubClass
]
string IPAddress;
[Implemented, static, Description(
"This method instantiates an 'A' Type of Resource Record based on "
"the data in the method's input parameters: the record's DNS Server "
"Name, Container Name, Owner Name, class (default = IN), 'time to "
"live' value and the Host's IP address. It returns a reference to "
"the new object as an output parameter."):
ToSubClass
]
void CreateInstanceFromPropertyData(
[IN] string DnsServerName,
[IN] string ContainerName,
[IN] string OwnerName,
[IN, optional, Valuemap {"1", "2", "3", "4"}, Values {"IN (Internet)",
"CS (CSNET)", "CH (CHAOS)", "HS (Hesiod)"}] uint16 RecordClass = 1,
[IN, optional] uint32 TTL,
[IN] string IPAddress,
[OUT] MicrosoftDNS_AType ref RR);
[Implemented, Description(
"This method updates the TTL and IP address to the values specified "
"as the input parameters of this method. If a new value for some "
"parameter is not specified, then the current value for this parameter "
"is not changed. The method returns a reference to the modified "
"object as an output parameter."): ToSubClass
]
void Modify(
[IN, optional] uint32 TTL,
[IN, optional] string IPAddress,
[OUT] MicrosoftDNS_DNS_AType ref RR);
};
[
Schema ("MicrosoftDNS"): ToSubClass ,
Description ("A subclass of MicrosoftDNS_ResourceRecord that represents a "
"Type SOA record."): ToSubClass ,
Dynamic, Provider("MS_NT_DNS_PROVIDER"),
Locale (0x409), UUID ("{47B8D066-B6EA-11d2-85E5-0000F8102E5F}")
]
class MicrosoftDNS_SOAType : MicrosoftDNS_ResourceRecord
{
[Read: ToSubClass ,
Description("The serial number of the SOA record."): ToSubClass
]
uint32 SerialNumber;
[Read: ToSubClass ,
Description("The primary DNS server having authority for the zone "
"to which this record belongs."): ToSubClass
]
string PrimaryServer;
[Read: ToSubClass ,
Description("The 'responsible party' for the zone to which this "
"record belongs."): ToSubClass
]
string ResponsibleParty;
[Read: ToSubClass ,
Description("The time interval (in seconds) before the zone, "
"containing this record, should be refreshed."): ToSubClass ,
Units ("Seconds"): ToSubClass
]
uint32 RefreshInterval;
[Read: ToSubClass ,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -