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 @@ -112,7 +112,7 @@ This example will remove the managed service testService1".
```powershell
$standByReplicaKeepDuration = "00:11:00"
$servicePlacementTimeLimit = "00:11:00"
$resourceId = "/subscriptions/13ad2c84-84fa-4798-ad71-e70c07af873f/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applications/testApp/services/testService"
$resourceId = "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applications/testApp/services/testService"
Set-AzServiceFabricManagedClusterService -ResourceId $resourceId -StandByReplicaKeepDuration $standByReplicaKeepDuration -ServicePlacementTimeLimit $servicePlacementTimeLimit -Verbose
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ IsConnectionAvailable : True
LinkerName : postgresql_connection
ReportEndTimeUtc : 5/6/2022 8:32:26 AM
ReportStartTimeUtc : 5/6/2022 8:32:24 AM
ResourceId : /subscriptions/d82d7763-8e12-4f39-a7b6-496a983ec2f4/resourceGroups/servicelinke
ResourceId : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/servicelinke
r-test-group/providers/Microsoft.App/containerApps/servicelinker-app/providers/Mi
crosoft.ServiceLinker/linkers/postgresql_connection
SourceId :
Expand Down Expand Up @@ -243,4 +243,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ IsConnectionAvailable : True
LinkerName : storagetable_404e8
ReportEndTimeUtc : 5/6/2022 8:32:26 AM
ReportStartTimeUtc : 5/6/2022 8:32:24 AM
ResourceId : /subscriptions/d82d7763-8e12-4f39-a7b6-496a983ec2f4/resourceGroups/servicelinke
ResourceId : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/servicelinke
r-test-group/providers/Microsoft.AppPlatform/Spring/servicelinker-springcloud/apps/appconfiguration/deployments/default/providers/Mi
crosoft.ServiceLinker/linkers/storagetable_404e8
SourceId :
Expand Down Expand Up @@ -274,4 +274,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ IsConnectionAvailable : True
LinkerName : postgresql_connection
ReportEndTimeUtc : 5/6/2022 8:32:26 AM
ReportStartTimeUtc : 5/6/2022 8:32:24 AM
ResourceId : /subscriptions/d82d7763-8e12-4f39-a7b6-496a983ec2f4/resourceGroups/servicelinke
ResourceId : /subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/servicelinke
r-test-group/providers/Microsoft.Web/sites/servicelinker-webapp/providers/Mi
crosoft.ServiceLinker/linkers/postgresql_connection
SourceId :
Expand Down Expand Up @@ -243,4 +243,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

2 changes: 1 addition & 1 deletion azps-15.6.0/Az.SignalR/Get-AzWebPubSub.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Get the resource and its properties.

### Example 1: List all Web PubSub resources in a subscription
```powershell
Get-AzWebPubSub -SubscriptionId ef72249e-9785-4799-a76b-7cdd80e1b1d0
Get-AzWebPubSub -SubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e
```

```output
Expand Down
7 changes: 3 additions & 4 deletions azps-15.6.0/Az.Site/Get-AzSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ Get a Site from different scopes: Resource Group, Subscription, or Service Group

### Example 1: Get a specific site by name at resource group scope
```powershell
Get-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012"
Get-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
```

Get a specific Azure Edge Site at resource group scope.

### Example 2: Get a specific site by name at subscription scope
```powershell
Get-AzSite -Name "mysite-001" -SubscriptionId "12345678-1234-1234-1234-123456789012"
Get-AzSite -Name "mysite-001" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
```

Get a specific Azure Edge Site at subscription scope.

### Example 3: List all sites in a subscription
```powershell
Get-AzSite -SubscriptionId "12345678-1234-1234-1234-123456789012"
Get-AzSite -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
```

List all Azure Edge Sites across all resource groups in the specified subscription.
Expand Down Expand Up @@ -164,4 +164,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

9 changes: 4 additions & 5 deletions azps-15.6.0/Az.Site/New-AzSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create a Site in different scopes: Resource Group, Subscription, or Service Grou

### Example 1: Create a new site at resource group scope with basic information
```powershell
New-AzSite -SiteName "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -DisplayName "West Coast Site" -Description "Primary site for west coast operations" -Country "US" -PostalCode "98101"
New-AzSite -SiteName "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -DisplayName "West Coast Site" -Description "Primary site for west coast operations" -Country "US" -PostalCode "98101"
```

Create a new Azure Edge Site with basic information including display name, description, and address details.
Expand All @@ -44,14 +44,14 @@ $labels = @{
"owner" = "operations-team"
}

New-AzSite -SiteName "mysite-002" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -DisplayName "Seattle Operations Center" -Description "Main operations site for Seattle region" -Country "US" -PostalCode "98101" -StateOrProvince "WA" -City "Seattle" -StreetAddress1 "123 Main St" -Labels $labels
New-AzSite -SiteName "mysite-002" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -DisplayName "Seattle Operations Center" -Description "Main operations site for Seattle region" -Country "US" -PostalCode "98101" -StateOrProvince "WA" -City "Seattle" -StreetAddress1 "123 Main St" -Labels $labels
```

Create a new Azure Edge Site with complete address information and custom labels for better organization and management.

### Example 3: Create a site at subscription scope
```powershell
New-AzSite -SiteName "global-site-001" -SubscriptionId "12345678-1234-1234-1234-123456789012" -DisplayName "Global Operations Site" -Description "Enterprise-wide operations center" -Country "US" -PostalCode "10001"
New-AzSite -SiteName "global-site-001" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -DisplayName "Global Operations Site" -Description "Enterprise-wide operations center" -Country "US" -PostalCode "10001"
```

Create a new Azure Edge Site at the subscription scope rather than within a specific resource group.
Expand All @@ -78,7 +78,7 @@ $jsonConfig = @"
}
"@

New-AzSite -SiteName "site-json-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -JsonString $jsonConfig
New-AzSite -SiteName "site-json-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -JsonString $jsonConfig
```

Create a new Azure Edge Site using a JSON configuration string for complex deployments or infrastructure-as-code scenarios.
Expand Down Expand Up @@ -444,4 +444,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

5 changes: 2 additions & 3 deletions azps-15.6.0/Az.Site/Remove-AzSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ Delete a Site from different scopes: Resource Group, Subscription, or Service Gr

### Example 1: Remove a site at resource group scope
```powershell
Remove-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012"
Remove-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
```

Remove an Azure Edge Site at resource group scope.
The command completes silently upon successful deletion.

### Example 2: Remove a site at subscription scope
```powershell
Remove-AzSite -Name "global-site-001" -SubscriptionId "12345678-1234-1234-1234-123456789012"
Remove-AzSite -Name "global-site-001" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e"
```

Remove an Azure Edge Site that exists at the subscription scope.
Expand Down Expand Up @@ -234,4 +234,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

9 changes: 4 additions & 5 deletions azps-15.6.0/Az.Site/Update-AzSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ $newLabels = @{
"updated-by" = "admin"
}

Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -Description "Updated site description" -Labels $newLabels
Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -Description "Updated site description" -Labels $newLabels
```

Update an existing Azure Edge Site's description and labels while preserving other properties.

### Example 2: Update only the display name
```powershell
Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -DisplayName "Updated West Coast Site"
Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -DisplayName "Updated West Coast Site"
```

Perform a partial update to change only the display name while leaving all other properties unchanged.
Expand All @@ -64,14 +64,14 @@ $jsonUpdate = @"
}
"@

Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "12345678-1234-1234-1234-123456789012" -JsonString $jsonUpdate
Update-AzSite -Name "mysite-001" -ResourceGroupName "rg-sites" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -JsonString $jsonUpdate
```

Update an Azure Edge Site using a JSON configuration for complex updates or automation scenarios.

### Example 4: Update a site at subscription scope
```powershell
Update-AzSite -Name "global-site-001" -SubscriptionId "12345678-1234-1234-1234-123456789012" -DisplayName "Updated Global Site" -Description "Updated enterprise operations center"
Update-AzSite -Name "global-site-001" -SubscriptionId "aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e" -DisplayName "Updated Global Site" -Description "Updated enterprise operations center"
```

Update an Azure Edge Site that exists at the subscription scope rather than within a specific resource group.
Expand Down Expand Up @@ -437,4 +437,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## NOTES

## RELATED LINKS

Loading