Sha256: 5eb08597e535847116ae118653022ca8b29ae74c60dcaa22921a8624899d5239
Contents?: true
Size: 766 Bytes
Versions: 47
Compression:
Stored size: 766 Bytes
Contents
module ApiStub module Models module Resources # Mock class for Resource Group Model class ResourceGroup def self.create_resource_group_response(client) resource_group = '{ "id": "/subscriptions/########-####-####-####-############/resourceGroups/fog-test-rg", "name": "fog-test-rg", "location": "westus", "tags": { "tagname1": "tagvalue1" }, "properties": { "provisioning_state": "Succeeded" } }' result_mapper = Azure::ARM::Resources::Models::ResourceGroup.mapper client.deserialize(result_mapper, Fog::JSON.decode(resource_group), 'result.body') end end end end end
Version data entries
47 entries across 47 versions & 4 rubygems