Skip to content

Commit

Permalink
Docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
schaudhari6254888 committed Feb 14, 2024
1 parent d81c4f0 commit 66fa1e4
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,31 @@ Gets a description for the specified Private Endpoint Connection name.

## EXAMPLES

### Example 1: {{ Add title here }}
### Example 1: Get an Event Hub Namespace Private Endpoint Connection
```powershell
{{ Add code here }}
Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name 00000000000
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
ConnectionState : Approved
Description :
Id : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/myNamespace/privateEndpointC
onnections/00000000000
Location : Australia East
Name : 00000000000
PrivateEndpointId : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/privateEndpointName
ProvisioningState : Succeeded
ResourceGroupName : myResourceGroup
```

{{ Add description here }}
Gets details of private endpoint connection `00000000000` created under EventHub namespace `myNamespace`.

### Example 2: {{ Add title here }}
### Example 2: List all private endpoint connections on an EventHub namespace
```powershell
{{ Add code here }}
Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace
```

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

{{ Add description here }}
Lists all private endpoint connections of EventHub namespace `myNamespace`.

## PARAMETERS

Expand Down
24 changes: 9 additions & 15 deletions src/EventHub/EventHub.Autorest/docs/Get-AzEventHubPrivateLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,21 @@ Gets lists of resources that supports Privatelinks.

## EXAMPLES

### Example 1: {{ Add title here }}
### Example 1: Get private links associated with an EventHub namespace
```powershell
{{ Add code here }}
Get-AzEventHubPrivateLink -ResourceGroupName myResourceGroup -NamespaceName myNamespace
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
GroupId : namespace
Id : subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/myNamespace/privateLinkResources/namespace
Name : namespace
RequiredMember : {namespace}
RequiredZoneName : {privatelink.servicebus.windows.net}
Type : Microsoft.EventHub/namespaces/privateLinkResources
```

{{ 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) }}
```

{{ Add description here }}
Gets private link resources available on EventHubs namespace `myNamespace`.

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,12 @@ This operation also removes all associated resources under the namespace.

## EXAMPLES

### Example 1: {{ Add title here }}
### Example 1: Remove a private endpoint connection from an eventhub namespace
```powershell
{{ Add code here }}
Remove-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name 00000000000
```

```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) }}
```

{{ Add description here }}
Deletes private endpoint connection `00000000000` from an event hub namespace `myNamespace`.

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
### Example 1: {{ Add title here }}
### Example 1: Get an Event Hub Namespace Private Endpoint Connection
```powershell
{{ Add code here }}
Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name 00000000000
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
ConnectionState : Approved
Description :
Id : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/myNamespace/privateEndpointC
onnections/00000000000
Location : Australia East
Name : 00000000000
PrivateEndpointId : /subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/privateEndpointName
ProvisioningState : Succeeded
ResourceGroupName : myResourceGroup
```

{{ Add description here }}
Gets details of private endpoint connection `00000000000` created under EventHub namespace `myNamespace`.

### Example 2: {{ Add title here }}
### Example 2: List all private endpoint connections on an EventHub namespace
```powershell
{{ Add code here }}
Get-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace
```

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

{{ Add description here }}

Lists all private endpoint connections of EventHub namespace `myNamespace`.
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
### Example 1: {{ Add title here }}
### Example 1: Get private links associated with an EventHub namespace
```powershell
{{ Add code here }}
Get-AzEventHubPrivateLink -ResourceGroupName myResourceGroup -NamespaceName myNamespace
```

```output
{{ Add output here (remove the output block if the example doesn't have an output) }}
GroupId : namespace
Id : subscriptions/subscriptionId/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/namespaces/myNamespace/privateLinkResources/namespace
Name : namespace
RequiredMember : {namespace}
RequiredZoneName : {privatelink.servicebus.windows.net}
Type : Microsoft.EventHub/namespaces/privateLinkResources
```

{{ 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) }}
```

{{ Add description here }}

Gets private link resources available on EventHubs namespace `myNamespace`.
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
### Example 1: {{ Add title here }}
### Example 1: Remove a private endpoint connection from an eventhub namespace
```powershell
{{ Add code here }}
Remove-AzEventHubPrivateEndpointConnection -ResourceGroupName myResourceGroup -NamespaceName myNamespace -Name 00000000000
```

```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) }}
```

{{ Add description here }}

Deletes private endpoint connection `00000000000` from an event hub namespace `myNamespace`.

0 comments on commit 66fa1e4

Please sign in to comment.