more doc improvements (#54649)

This commit is contained in:
Zim Kalinowski 2019-04-02 09:33:00 +08:00 committed by Yunge Zhu
parent d01c1599b0
commit d760b400af
7 changed files with 17 additions and 15 deletions

View file

@ -74,8 +74,8 @@ author:
EXAMPLES = '''
- name: Create a workspace with backup enabled
azure_rm_loganalyticsworkspace:
resource_group: foo
name: bar
resource_group: myResourceGroup
name: myLogAnalyticsWorkspace
intelligence_pack:
Backup: true
'''
@ -85,13 +85,14 @@ id:
description: Workspace resource path.
type: str
returned: success
example: "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/foo/providers/Microsoft.OperationalInsights/workspaces/bar"
example: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/m
yLogAnalyticsWorkspace"
location:
description:
- Resource location.
type: str
returned: success
example: "eastus"
example: eastus
sku:
description:
- The SKU of the workspace

View file

@ -58,8 +58,8 @@ author:
EXAMPLES = '''
- name: Query a workspace
azure_rm_loganalyticsworkspace_facts:
resource_group: foo
name: bar
resource_group: myResourceGroup
name: myLogAnalyticsWorkspace
show_intelligence_packs: true
show_management_groups: true
show_shared_keys: true
@ -71,7 +71,8 @@ id:
description: Workspace resource path.
type: str
returned: success
example: "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX/resourceGroups/foo/providers/Microsoft.OperationalInsights/workspaces/bar"
example: "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/m
yLogAnalyticsWorkspace"
location:
description:
- Resource location.

View file

@ -69,18 +69,18 @@ author:
EXAMPLES = '''
- name: Get all namespaces under a resource group
azure_rm_servicebus_facts:
resource_group: foo
resource_group: myResourceGroup
type: namespace
- name: Get all topics under a namespace
azure_rm_servicebus_facts:
resource_group: foo
resource_group: myResourceGroup
namespace: bar
type: topic
- name: Get a single queue with SAS policies
azure_rm_servicebus_facts:
resource_group: foo
resource_group: myResourceGroup
namespace: bar
type: queue
name: sbqueue
@ -88,7 +88,7 @@ EXAMPLES = '''
- name: Get all subscriptions under a resource group
azure_rm_servicebus_facts:
resource_group: foo
resource_group: myResourceGroup
type: subscription
namespace: bar
topic: sbtopic

View file

@ -126,7 +126,7 @@ EXAMPLES = '''
- name: Create a queue
azure_rm_servicebusqueue:
name: subqueue
resource_group: foo
resource_group: myResourceGroup
namespace: bar
duplicate_detection_time_in_seconds: 600
'''

View file

@ -85,7 +85,7 @@ EXAMPLES = '''
name: deadbeef
queue: qux
namespace: bar
resource_group: foo
resource_group: myResourceGroup
rights: send
'''
RETURN = '''

View file

@ -105,7 +105,7 @@ EXAMPLES = '''
- name: Create a topic
azure_rm_servicebustopic:
name: subtopic
resource_group: foo
resource_group: myResourceGroup
namespace: bar
duplicate_detection_time_in_seconds: 600
'''

View file

@ -117,7 +117,7 @@ EXAMPLES = '''
- name: Create a subscription
azure_rm_servicebustopicsubscription:
name: sbsub
resource_group: foo
resource_group: myResourceGroup
namespace: bar
topic: subtopic
'''