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
@@ -1,22 +1,12 @@
### Example 1: {{ Add title here }}
### Example 1: Create a local SRM object for the Addon Property parameter
```powershell
{{ Add code here }}
New-AzVMwareAddonSrmPropertiesObject -LicenseKey "YourLicenseKeyValue"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
AddonType LicenseKey ProvisioningState
--------- ---------- -----------------
SRM YourLicenseKeyValue
```

{{ Add description here }}
Create a local SRM object for the Addon Property parameter

Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
### Example 1: {{ Add title here }}
### Example 1: Create a local VR object for the Addon Property parameter
```powershell
{{ Add code here }}
New-AzVMwareAddonVrPropertiesObject -VrsCount 2
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
AddonType ProvisioningState VrsCount
--------- ----------------- --------
VR 2
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create a local VR object for the Addon Property parameter
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
### Example 1: {{ Add title here }}
```powershell
{{ Add code here }}
New-AzVMwarePSCredentialExecutionParameterObject -Name azps_test_credentialvalue -Password "passwordValue" -Username "usernameValue"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
Name Password Type Username
---- -------- ---- --------
azps_test_credentialvalue passwordValue Credential usernameValue
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create a local PS Credential Execution object
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
### Example 1: {{ Add title here }}
### Example 1: Create a local Script Secure String Execution object
```powershell
{{ Add code here }}
New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue "passwordValue"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
Name SecureValue Type
---- ----------- ----
azps_test_securevalue passwordValue SecureValue
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create a local Script Secure String Execution object
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
### Example 1: {{ Add title here }}
### Example 1: Create a local Script String Execution object
```powershell
{{ Add code here }}
New-AzVMwareScriptSecureStringExecutionParameterObject -Name azps_test_securevalue -SecureValue "passwordValue"
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
Name SecureValue Type
---- ----------- ----
azps_test_securevalue passwordValue SecureValue
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create a local Script String Execution object
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Create an in-memory object for VMPlacementPolicyProperties.
```powershell
{{ Add code here }}
New-AzVMwareVMPlacementPolicyPropertiesObject -AffinityType 'Affinity' -Type 'VmVm' -VMMember @{"test"="test"}
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
AffinityType : Affinity
DisplayName :
ProvisioningState :
State :
Type : VmVm
VMMember : {System.Collections.Hashtable}
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create an in-memory object for VMPlacementPolicyProperties.
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
### Example 1: {{ Add title here }}
### Example 1: Create an in-memory object for VmHostPlacementPolicyProperties.
```powershell
{{ Add code here }}
New-AzVMwareVmHostPlacementPolicyPropertiesObject -AffinityType 'AntiAffinity' -HostMember @{"test"="test"} -Type 'VmHost' -VMMember @{"test"="test"}
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
{{ Add code here }}
AffinityStrength :
AffinityType : AntiAffinity
AzureHybridBenefitType :
DisplayName :
HostMember : {System.Collections.Hashtable}
ProvisioningState :
State :
Type : VmHost
VMMember : {System.Collections.Hashtable}
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
```

{{ Add description here }}

Create an in-memory object for VmHostPlacementPolicyProperties.
22 changes: 11 additions & 11 deletions src/VMware/VMware.Autorest/test/AzVMwareAddon.Recording.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"isContentBase64": false
}
},
"AzVMwareAddon+[NoContext]+List+$GET+https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+2": {
"AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+2": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -58,10 +58,10 @@
"isContentBase64": false
}
},
"AzVMwareAddon+[NoContext]+List+$GET+https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+3": {
"AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01+3": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/SRM?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -93,7 +93,7 @@
"AzVMwareAddon+[NoContext]+List+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons?api-version=2023-03-01+4": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -125,7 +125,7 @@
"AzVMwareAddon+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/vr?api-version=2023-03-01+1": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/vr?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudb092/addons/vr?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -181,10 +181,10 @@
"isContentBase64": false
}
},
"AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+2": {
"AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+2": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -213,10 +213,10 @@
"isContentBase64": false
}
},
"AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+3": {
"AzVMwareAddon+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01+3": {
"Request": {
"Method": "GET",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/SRM?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down Expand Up @@ -248,7 +248,7 @@
"AzVMwareAddon+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/vr?api-version=2023-03-01+1": {
"Request": {
"Method": "DELETE",
"RequestUri": "https://localhost/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/vr?api-version=2023-03-01",
"RequestUri": "https://management.azure.com/subscriptions/cef41485-ad1e-4cc3-a652-4c2620b8a2d0/resourceGroups/testgroupp9uh7g/providers/Microsoft.AVS/privateClouds/azps_test_cloudukel/addons/vr?api-version=2023-03-01",
"Content": null,
"isContentBase64": false,
"Headers": {
Expand Down
Loading