コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the DataBoxEdgeDevice class.
 /// </summary>
 /// <param name="location">The location of the device. This is a
 /// supported and registered Azure geographical region (for example,
 /// West US, East US, or Southeast Asia). The geographical region of a
 /// device cannot be changed once it is created, but if an identical
 /// geographical region is specified on update, the request will
 /// succeed.</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="tags">The list of tags that describe the device. These
 /// tags can be used to view and group this device (across resource
 /// groups).</param>
 /// <param name="sku">The SKU type.</param>
 /// <param name="etag">The etag for the devices.</param>
 /// <param name="identity">Msi identity of the resource</param>
 /// <param name="kind">The kind of the device. Possible values include:
 /// 'AzureDataBoxGateway', 'AzureStackEdge', 'AzureStackHub',
 /// 'AzureModularDataCentre'</param>
 /// <param name="systemData">DataBoxEdge Resource</param>
 /// <param name="systemData1">DataBoxEdge Device Properties</param>
 /// <param name="dataBoxEdgeDeviceStatus">The status of the Data Box
 /// Edge/Gateway device. Possible values include: 'ReadyToSetup',
 /// 'Online', 'Offline', 'NeedsAttention', 'Disconnected',
 /// 'PartiallyDisconnected', 'Maintenance'</param>
 /// <param name="serialNumber">The Serial Number of Data Box
 /// Edge/Gateway device.</param>
 /// <param name="description">The Description of the Data Box
 /// Edge/Gateway device.</param>
 /// <param name="modelDescription">The description of the Data Box
 /// Edge/Gateway device model.</param>
 /// <param name="deviceType">The type of the Data Box Edge/Gateway
 /// device. Possible values include: 'DataBoxEdgeDevice'</param>
 /// <param name="friendlyName">The Data Box Edge/Gateway device
 /// name.</param>
 /// <param name="culture">The Data Box Edge/Gateway device
 /// culture.</param>
 /// <param name="deviceModel">The Data Box Edge/Gateway device
 /// model.</param>
 /// <param name="deviceSoftwareVersion">The Data Box Edge/Gateway
 /// device software version.</param>
 /// <param name="deviceLocalCapacity">The Data Box Edge/Gateway device
 /// local capacity in MB.</param>
 /// <param name="timeZone">The Data Box Edge/Gateway device
 /// timezone.</param>
 /// <param name="deviceHcsVersion">The device software version number
 /// of the device (eg: 1.2.18105.6).</param>
 /// <param name="configuredRoleTypes">Type of compute roles
 /// configured.</param>
 /// <param name="nodeCount">The number of nodes in the cluster.</param>
 /// <param name="resourceMoveDetails">The details of the move operation
 /// on this resource.</param>
 /// <param name="edgeProfile">The details of Edge Profile for this
 /// resource</param>
 /// <param name="dataResidency">The details of data-residency related
 /// properties for this resource</param>
 public DataBoxEdgeDevice(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), string etag = default(string), ResourceIdentity identity = default(ResourceIdentity), string kind = default(string), SystemData systemData = default(SystemData), SystemData systemData1 = default(SystemData), string dataBoxEdgeDeviceStatus = default(string), string serialNumber = default(string), string description = default(string), string modelDescription = default(string), string deviceType = default(string), string friendlyName = default(string), string culture = default(string), string deviceModel = default(string), string deviceSoftwareVersion = default(string), long?deviceLocalCapacity = default(long?), string timeZone = default(string), string deviceHcsVersion = default(string), IList <string> configuredRoleTypes = default(IList <string>), int?nodeCount = default(int?), ResourceMoveDetails resourceMoveDetails = default(ResourceMoveDetails), EdgeProfile edgeProfile = default(EdgeProfile), DataResidency dataResidency = default(DataResidency))
     : base(id, name, type)
 {
     Location                = location;
     Tags                    = tags;
     Sku                     = sku;
     Etag                    = etag;
     Identity                = identity;
     Kind                    = kind;
     SystemData              = systemData;
     SystemData1             = systemData1;
     DataBoxEdgeDeviceStatus = dataBoxEdgeDeviceStatus;
     SerialNumber            = serialNumber;
     Description             = description;
     ModelDescription        = modelDescription;
     DeviceType              = deviceType;
     FriendlyName            = friendlyName;
     Culture                 = culture;
     DeviceModel             = deviceModel;
     DeviceSoftwareVersion   = deviceSoftwareVersion;
     DeviceLocalCapacity     = deviceLocalCapacity;
     TimeZone                = timeZone;
     DeviceHcsVersion        = deviceHcsVersion;
     ConfiguredRoleTypes     = configuredRoleTypes;
     NodeCount               = nodeCount;
     ResourceMoveDetails     = resourceMoveDetails;
     EdgeProfile             = edgeProfile;
     DataResidency           = dataResidency;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the CloudEdgeManagementRole class.
 /// </summary>
 /// <param name="roleStatus">Role status. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="id">The path ID that uniquely identifies the
 /// object.</param>
 /// <param name="name">The object name.</param>
 /// <param name="type">The hierarchical type of the object.</param>
 /// <param name="systemData">Role configured on ASE resource</param>
 /// <param name="localManagementStatus">Local Edge Management Status.
 /// Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="edgeProfile">Edge Profile of the resource</param>
 public CloudEdgeManagementRole(string roleStatus, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string localManagementStatus = default(string), EdgeProfile edgeProfile = default(EdgeProfile))
     : base(id, name, type, systemData)
 {
     LocalManagementStatus = localManagementStatus;
     EdgeProfile           = edgeProfile;
     RoleStatus            = roleStatus;
     CustomInit();
 }