Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ model EdgeMachineProperties {

@doc("Reported properties for edge machine.")
@visibility(Lifecycle.Read)
reportedProperties?: ReportedProperties;
reportedProperties?: EdgeMachineReportedProperties;

@doc("operation status details for edge machine.")
@visibility(Lifecycle.Read)
Expand Down Expand Up @@ -284,49 +284,16 @@ union EdgeMachineState {
Preparing: "Preparing",
}

@added(Versions.v2025_12_01_preview)
@doc("The provisioning state of a resource.")
union ProvisioningState {
string,

@doc("The resource provision state is not specified")
NotSpecified: "NotSpecified",

@doc("Resource has been created.")
Succeeded: "Succeeded",

@doc("Resource creation failed.")
Failed: "Failed",

@doc("Resource creation was canceled.")
Canceled: "Canceled",

@doc("Resource creation is in progress.")
InProgress: "InProgress",

@doc("The resource is being provisioned")
Provisioning: "Provisioning",

@doc("The resource is updating")
Updating: "Updating",

@doc("The resource is being deleted")
Deleting: "Deleting",

@doc("The resource create request has been accepted")
Accepted: "Accepted",
}

@added(Versions.v2025_12_01_preview)
@doc("Reported properties for edge machine.")
model ReportedProperties {
model EdgeMachineReportedProperties {
@doc("Last time data reported.")
@visibility(Lifecycle.Read)
lastUpdated?: utcDateTime;

@doc("Network details for edge machine.")
@visibility(Lifecycle.Read)
networkProfile?: NetworkProfile;
networkProfile?: EdgeMachineNetworkProfile;

@doc("OS Properties for edge machine.")
@visibility(Lifecycle.Read)
Expand All @@ -351,11 +318,11 @@ model ReportedProperties {

@added(Versions.v2025_12_01_preview)
@doc("NetworkProfile of edge machine.")
model NetworkProfile {
model EdgeMachineNetworkProfile {
@doc("List of Network Interface Card (NIC) Details of edge machine.")
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#["adapterName"])
nicDetails?: NicDetail[];
nicDetails?: EdgeMachineNicDetail[];

@doc("List of switch Details of edge machine.")
@visibility(Lifecycle.Read)
Expand All @@ -365,7 +332,7 @@ model NetworkProfile {

@added(Versions.v2025_12_01_preview)
@doc("Network Interface Card (NIC) Details of edge machine.")
model NicDetail {
model EdgeMachineNicDetail {
/**
* Adapter Name of NIC
*/
Expand Down Expand Up @@ -463,53 +430,6 @@ model NicDetail {
rdmaCapability?: RdmaCapability = RdmaCapability.Disabled;
}

@added(Versions.v2025_12_01_preview)
@doc("Switch Details of edge machine.")
model SwitchDetail {
/**
* The name of the switch.
*/
@visibility(Lifecycle.Read)
switchName?: string;

/**
* The type of the switch. e.g. external, internal.
*/
@visibility(Lifecycle.Read)
switchType?: string;

/**
* This represents extensions installed on virtualSwitch.
*/
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#["extensionName"])
extensions?: SwitchExtension[];
}

/**
* This represents extensions installed on virtualSwitch.
*/
@added(Versions.v2025_12_01_preview)
model SwitchExtension {
/**
* Unique identifier for virtualSwitch.
*/
@visibility(Lifecycle.Read)
switchId?: string;

/**
* This will show extension name for virtualSwitch.
*/
@visibility(Lifecycle.Read)
extensionName?: string;

/**
* This represents whether extension is enabled on virtualSwitch.
*/
@visibility(Lifecycle.Read)
extensionEnabled?: boolean;
}

/**
* OS configurations for HCI device.
*/
Expand Down Expand Up @@ -564,24 +484,6 @@ model OsProfile {
imageVersion?: string;
}

/**
* Describes the RDMA capability of the network adapter.
*/
@added(Versions.v2025_12_01_preview)
union RdmaCapability {
string,

/**
* Network Adapter on the device is RDMA Capable
*/
Enabled: "Enabled",

/**
* Network Adapter on the device isn't RDMA Capable
*/
Disabled: "Disabled",
}

/**
* Hardware profile for the machine
*/
Expand Down Expand Up @@ -637,151 +539,6 @@ model StorageProfile {
@visibility(Lifecycle.Read)
poolableDisksCount?: int64;
}

/**
* Solution builder extension (SBE) deployment package information.
*/
@added(Versions.v2025_12_01_preview)
model SbeDeploymentPackageInfo {
/**
* SBE deployment validation code.
*/
@visibility(Lifecycle.Read)
code?: string;

/**
* A detailed message that explains the SBE package validation result.
*/
@visibility(Lifecycle.Read)
message?: string;

/**
* This represents discovered update results for matching updates and store it as SBE manifest.
*/
@visibility(Lifecycle.Read)
sbeManifest?: string;
}

/**
* Extensions details for edge device.
*/
@added(Versions.v2025_12_01_preview)
model ExtensionProfile {
/**
* List of Arc extensions installed on edge device.
*/
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#["extensionName"])
extensions?: Extension[];
}

/**
* Arc extension installed on edge device.
*/
@added(Versions.v2025_12_01_preview)
model Extension {
/**
* Arc extension name installed on edge device.
*/
@visibility(Lifecycle.Read)
extensionName?: string;

/**
* Arc extension state from arc machine extension.
*/
@visibility(Lifecycle.Read)
state?: ArcExtensionState;

/**
* Error details while installing Arc extension.
*/
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#[])
errorDetails?: ErrorDetailModel[];

/**
* Exception details while installing Arc extension.
*/
@visibility(Lifecycle.Read)
exception?: string;

/**
* Arc Extension Azure resource id.
*/
@visibility(Lifecycle.Read)
extensionResourceId?: Azure.Core.armResourceIdentifier;

/**
* Extension version installed.
*/
@visibility(Lifecycle.Read)
typeHandlerVersion?: string;

/**
* Extension managed by user or Azure.
*/
@visibility(Lifecycle.Read)
managedBy?: ExtensionManagedBy;
}

/**
* Arc extension installation state.
*/
@added(Versions.v2025_12_01_preview)
union ArcExtensionState {
string,

/**
* Arc extension state is not specified.
*/
NotSpecified: "NotSpecified",

/**
* Arc extension state is Accepted when extension installation triggered.
*/
Accepted: "Accepted",

/**
* Arc extension state is Canceled.
*/
Canceled: "Canceled",

/**
* Arc extension is in Creating State.
*/
Creating: "Creating",

/**
* Arc extension is in Deleted State.
*/
Deleted: "Deleted",

/**
* Arc extension is in Deleting State.
*/
Deleting: "Deleting",

/**
* Arc extension state is Failed.
*/
Failed: "Failed",

/**
* Arc extension is in Moving State.
*/
Moving: "Moving",

/**
* Arc extension state is Succeeded.
*/
Succeeded: "Succeeded",

/**
* Arc extension is in Updating State.
*/
Updating: "Updating",
}

/**
* details of validation failure
*/
Expand All @@ -793,21 +550,3 @@ model ErrorDetailModel {
@visibility(Lifecycle.Read)
exception?: string;
}

/**
* Extension managed by user or Azure.
*/
@added(Versions.v2025_12_01_preview)
union ExtensionManagedBy {
string,

/**
* Extension managed by user.
*/
User: "User",

/**
* Extension managed by Azure.
*/
Azure: "Azure",
}
Loading
Loading